PEGetSQLExpression

Use PEGetSQLExpression to retrieve a specified SQL expression in the specified report. Use this function with PEGetHandleString.

C Syntax
BOOL CRPE_API PEGetSQLExpression (
        short printJob,
        const char FAR *expressionName,
        HANDLE FAR *textHandle,
        short FAR *textLength );
Parameters

printJob

Specifies the print job for which you want to retrieve the SQL expression string.

expressionName

Specifies a pointer to the expression name.

textHandle

Specifies a pointer to the handle of the expression string.

textLength

Specifies a pointer to the length of the expression string.

Returns
VB Syntax
Declare Function PEGetSQLExpression Lib "crpe32.dll" (ByVal printJob As 
Integer, ByVal expressionName As String, textHandle As Long, textLength 
As Integer) As Integer
Delphi Syntax
function PEGetSQLExpression (
    printJob: Smallint;
    const expressionName: PChar;
    var textHandle: Hwnd;
    var textLength: Smallint
    ): Bool stdcall;


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com